<?php

class A
{
    public static function who()
    {
        echo "A类的who方法";
    }

    public static function test()
    {
        static::who();
    }

}


class B extends A
{
    public static function who()
    {

        echo "B类的who方法";
    }
}


B::test();






















